package com.ypj.indusynergyems.dao.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class OrderEntity {
    private  int user_id ;
    private String order_num;
    private int shop_id;
    private String shop_name; //店铺名
    private String recipient_addr ;
    private  int status ;
    private String create_date;
    private String remark;
    private double totalPrice;
    private String pay_date;

    public OrderEntity(int user_id, String order_num, int shop_id, String recipient_addr, double totalPrice) {
        this.user_id = user_id;
        this.order_num = order_num;
        this.shop_id = shop_id;
        this.recipient_addr = recipient_addr;
        this.totalPrice = totalPrice;
    }
}
